Google\Site_Kit\Modules\Analytics_4 D

Total Complexity 281
Dependencies 63
Dependents 7
Total lines 2,482
Lines of code 1,578
Logical lines of code 715
Comment lines 581
Methods 52
Properties 3

Methods 52

Method Rating Maintainability Complexity Lines of code
create_data_request()
D
6
84 516
parse_data_response()
B
34 20 87
register()
B
29 15 153
get_debug_fields()
A
36 13 85
get_custom_dimensions_data()
A
46 12 38
handle_provisioning_callback()
A
42 9 54
has_audience_site_kit_identifier()
A
55 11 19
set_available_audiences()
A
43 8 51
provision_property_webdatastream()
A
42 6 61
get_datapoint_definitions()
A
37 3 100
determine_google_tag_id_from_tag_ids()
S
56 7 19
get_audience_slug()
S
54 6 25
register_tag()
S
52 6 24
get_audience_type()
S
62 6 13
parse_webdatastreams_batch()
S
57 5 16
print_tracking_opt_out()
S
53 4 24
create_property()
S
56 4 17
get_site_kit_audiences()
S
62 5 10
is_tracking_disabled()
S
62 5 10
check_service_entity_access()
S
58 3 17
is_connected()
S
59 3 15
sync_google_tag_settings()
S
62 3 12
filter_property_with_ids()
S
61 3 12
create_webdatastream()
S
55 2 21
filter_analytics_allow_tracking_disabled()
S
67 3 9
is_adsense_connected()
S
68 3 7
inline_resource_availability_dates_data()
S
64 2 11
setup_assets()
S
55 1 22
get_tag_id()
S
69 2 7
filter_account_with_ids()
S
66 2 8
filter_webdatastream_with_ids()
S
65 2 9
inline_tag_id_mismatch()
S
68 2 7
inline_custom_dimensions_data()
S
67 2 8
setup_services()
S
61 1 12
get_provisioning_redirect_uri()
S
77 1 4
get_scopes()
S
80 1 3
on_activation()
S
76 1 4
on_deactivation()
S
70 1 7
get_tagmanager_service()
S
80 1 3
setup_info()
S
65 1 9
get_analyticsdata_service()
S
80 1 3
get_analyticsenhancedmeasurements_service()
S
80 1 3
get_measurement_id()
S
76 1 4
get_tag_matchers()
S
81 1 3
get_google_tag_settings_for_measurement_id()
S
69 1 7
get_analyticsadsenselinks_service()
S
80 1 3
normalize_property_id()
S
80 1 3
normalize_account_id()
S
80 1 3
get_analyticsaudiences_service()
S
80 1 3
filter_web_datastreams()
S
68 1 8
setup_settings()
S
80 1 3
__construct()
S
68 1 6